\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{CJKfont}
                  [2000/3/11 v1.0 CJK Fontsize Definition]
\RequirePackage{CJK}
\RequirePackage{type1cm}

\def\defCJKfontsize#1#2#3#4{%
         \fontsize{#1}{#2 plus#3 minus #4}\selectfont}

\newcount \fs

\def\zihao[#1#2]{\fs=#1#2
             \ifnum \fs=0  \defCJKfontsize{34pt}{46pt}{1.5pt}{1pt} 
        \else\ifnum \fs=1  \defCJKfontsize{26pt}{35pt}{1.5pt}{1pt} 
        \else\ifnum \fs=2  \defCJKfontsize{20pt}{28.5pt}{1pt}{1pt} 
        \else\ifnum \fs=3  \defCJKfontsize{15pt}{20pt}{1pt}{.8pt}  
        \else\ifnum \fs=4  \defCJKfontsize{13.75pt}{19pt}{1pt}{.8pt} 
        \else\ifnum \fs=-4 \defCJKfontsize{11.32pt}{17pt}{1pt}{.8pt} 
        \else\ifnum \fs=5  \defCJKfontsize{9.9pt}{13pt}{.8pt}{.6pt} 
        \else\ifnum \fs=-5 \defCJKfontsize{8.5pt}{12pt}{.6pt}{.4pt} 
        \else\ifnum \fs=6  \defCJKfontsize{7.5pt}{10pt}{.6pt}{.4pt} 
        \else\ifnum \fs=7  \defCJKfontsize{5pt}{8pt}{.4pt}{.2pt} 
        \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}

\endinput
